home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / pc / sample code / quicktime / capturing / softvdig / softvdig.r < prev   
Encoding:
Text File  |  2000-09-28  |  1.2 KB  |  68 lines

  1. #define UseExtendedThingResource 1
  2.  
  3. #include "MacTypes.r"
  4. #include "Components.r"
  5. #include "ImageCodec.r"
  6.  
  7. #if !TARGET_OS_MAC
  8.     #if    TARGET_OS_WIN32
  9.         #define Target_PlatformType      platformWin32
  10.     #endif
  11.  
  12.     #if TARGET_OS_UNIX
  13.         #if TARGET_CPU_MIPS
  14.             #define Target_PlatformType      platformIRIXmips
  15.         #endif
  16.         #if TARGET_CPU_SPARC
  17.             #define Target_PlatformType      platformSunOSsparc
  18.         #endif
  19.     #endif
  20.  
  21.     #ifndef Target_PlatformType
  22.         #error get a real platform type
  23.     #endif
  24. #endif
  25.  
  26. resource 'thng' (200,  "Software vdig") {
  27.     'vdig', 'soft', 'jph ',
  28. #if TARGET_REZ_MAC_68K
  29.     0,        0,            // Flags, Mask
  30.     'CODE',    200,        // 68k Code
  31. #else
  32.     0,        0,            // Flags, Mask
  33.     0,        0,            // 68k Code
  34. #endif
  35.     'strn',    200,        // Name
  36.     'stri',    200,        // Info
  37.     'ICON',    200,        // Icon
  38.     0,
  39. #if !TARGET_REZ_MAC_68K
  40.     componentHasMultiplePlatforms |
  41. #endif
  42.         componentDoAutoVersion,
  43.     0,
  44.     {
  45. #if    TARGET_OS_MAC
  46. #else
  47.         0,
  48.         'dlle',    200,    // Code
  49.         Target_PlatformType,
  50. #endif
  51.     },
  52. };
  53.  
  54. resource 'strn' (200) {
  55.     "softVdig"
  56. };
  57.  
  58. resource 'stri' (200) {
  59.     "Software simulation of a video digitizer"
  60. };
  61.  
  62. #if    TARGET_OS_MAC
  63. #else
  64.     resource 'dlle' (200) {
  65.         "softVdig"
  66.     };
  67. #endif
  68.